﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example62
{
    public class MaximumFinder
    {
        public int Determine(int x, int y)
        {
            if(x > y)
                return x;
            else
                return y;
        }
    }
    public class Program
    {
        public static void Main(string[] args)
        {
            MaximumFinder maxFinder = new MaximumFinder();
            int result = maxFinder.Determine(5, 7);
            Console.WriteLine("Maximum is:" + result);
        }
    }
}
